Pod::Spec.new do |spec|
  spec.name         = "HHCategoryView"
  spec.version      = "1.0.0"
  spec.summary      = "iOS分类切换滚动视图"
  spec.description      = <<-DESC.gsub(/^\s*\|?/,'')
                       An optional longer description of Huihui Health

                       | * Markdown format.
                       | * Don't worry about the indent, we strip it!
                       DESC

  spec.homepage     = "https://gitlab.leke.cn/health-huihui/app/ios/ios-component/HHCategoryView.git"
  spec.license          = 'BSD'
  spec.author           = { "chasel" => "chenchun1@cnstrong.cn" }
  spec.source           = { :git => "git@gitlab.leke.cn:health-huihui/app/ios/ios-component/HHCategoryView.git", :branch => "master" }

  spec.platform     = :ios, '9.0'
  spec.requires_arc = true
  spec.swift_versions = ["4.2", "5.0"]

  spec.default_subspec = 'Category'
  spec.subspec 'Category' do |category|
    category.source_files = 'JXCategoryView', 'JXCategoryView/Sources/**/*.{h,m}'
  end

  spec.subspec 'Pager' do |pager|
    pager.source_files = 'JXPagingView/JXPagerView/**/*.{h,m}'
  end

  spec.subspec 'Paging' do |paging|
 

    paging.source_files = 'JXPagingView/JXPagingView/**/*.swift'
  end

end
